package com.kuyun.dingshi.service.impl;



import com.kuyun.dingshi.entity.Admin;
import com.kuyun.dingshi.mapper.AdminMapper;
import com.kuyun.dingshi.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

	@Autowired
	private AdminMapper adminMapper;

	@Override
	public Admin getAdmin(Long id){
		return adminMapper.selectById(id);
	}
}
